android cookbook 2e by Ian F. Darwin

android cookbook 2e by Ian F. Darwin

Author:Ian F. Darwin
Language: eng
Format: epub
Publisher: O'Reilly Media, Inc.
Published: 2016-10-10T16:00:00+00:00


Start-up, pause, and then restart (see Figure 3-28)

Start-up, pause, forced removal from memory, and then start-up again (see Figure 3-29)

Figure 3-28. Restarting the application

Figure 3-29. Force-stop messages

These scenarios result in different sequences of life-cycle functions being executed. Using these scenarios when testing ensures that an app performs correctly for a user. You can extend the techniques shown here when implementing additional overridden functions. The techniques also apply to using fragments in an activity and testing their life cycle.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.